package com.bbh.plugin.single.privilege.core.vo.tree;

import com.bbh.plugin.single.privilege.core.entity.Area;
import com.bbh.plugin.single.privilege.core.entity.Organization;

import java.util.List;

/**
 * Created by Administrator on 2015/10/4.
 */
public class OrganizationVo extends Organization {
    private String isLeaf;

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    private Area area;

    //private User primaryPerson;//主负责人

    //private User deputyPerson;//副负责人

    private List<String> childDeptList;//快速增加子部门

    protected OrganizationVo parent;	// 父级编号

    protected String parentIds; // 所有父级编号

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    /*@Override
    public User getPrimaryPerson() {
        return primaryPerson;
    }

    public void setPrimaryPerson(User primaryPerson) {
        this.primaryPerson = primaryPerson;
    }

    @Override
    public User getDeputyPerson() {
        return deputyPerson;
    }

    public void setDeputyPerson(User deputyPerson) {
        this.deputyPerson = deputyPerson;
    }*/

    public List<String> getChildDeptList() {
        return childDeptList;
    }

    public void setChildDeptList(List<String> childDeptList) {
        this.childDeptList = childDeptList;
    }

    public OrganizationVo getParent() {
        return parent;
    }

    public void setParent(OrganizationVo parent) {
        this.parent = parent;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }
}
